This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
On the web, we are trying to have a document open up in a dojo dijit dialog box in edit mode. This was an easy enough task in read mode but it has proven to be more difficult in edit mode.
We can get the document to open in edit mode but none of the buttons do anything when clicked. We've even tried to put a simple client side alert and that doesn't fire.
We've searched in here and saw that others have had similar problems but their posts went unanswered. On the dojo support site we also saw references to focus issues that are supposed to be fixed in 1.5 - not sure if that is part of the problem or not.
Here is the code as it sits in a data column. We have a custom control that sits in a div and that opens just fine. Once again, the problem is that none of the buttons in this CC do anything when opened up in the dijit box.
//first check if it's there so we don't create a duplicate
var dialog = dijit.byId('dialogId');
if (dialog) { dialog.destroyRecursive(); }
// create a "hidden" Dialog till calling show it
var dialog = new dijit.Dialog({
title:"Field Profile",
id: "dialogId",
refreshOnShow: true,
preventCache: true
});
// this function creates the dialog box and moves its content inside the form tag.
var xdialog = dojo.byId("dialogId");
xdialog.parentNode.removeChild(xdialog);
var form = document.forms[0];
form.appendChild(xdialog);